package com.xzst.jacksonxml.model.result;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.*;

import java.io.Serializable;

/**
 * @Author:liukexin
 * @DATE:2019-06-24 17:33
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommonQueryResultInfo implements Serializable {

    private static final long serialVersionUID = 5979950075383853258L;

    /**
     * 开始时间 yyyy-mm-ddhh:mm:ss
     */
    @JacksonXmlProperty(localName = "BeginTime")
    private String beginTime;

    /**
     * 服务号码
     */
    @JacksonXmlProperty(localName = "CustomerNumber")
    private String customerNumber;

    /**
     * 对方号码
     */
    @JacksonXmlProperty(localName = "OppositeNumber")
    private String oppositeNumber;

    /**
     * 通话时长
     */
    @JacksonXmlProperty(localName = "TimeLen")
    private String timeLen;

    /**
     * 呼叫类型
     */
    @JacksonXmlProperty(localName = "CallType")
    private String callType;

    /**
     * 服务方所在地(区号)
     */
    @JacksonXmlProperty(localName = "UserNumAttAreaCode")
    private String userNumAttAreaCode;

    /**
     * 第三方号码
     */
    @JacksonXmlProperty(localName = "OtherNumber")
    private String otherNumber;
}
